//
//  ZMyAddressCell.h
//  DistributorAB
//
//  Created by LZY on 2019/10/11.
//  Copyright © 2019 主事丫环. All rights reserved.
//

// 我的地址列表cell

typedef NS_ENUM(NSUInteger, ZMyAddressCellActionType) {
    ZMyAddressCellActionTypeEdit = 0,      //编辑
    ZMyAddressCellActionTypeDelete         //删除
};
#import <UIKit/UIKit.h>
#import "ZMyAddressModel.h"

NS_ASSUME_NONNULL_BEGIN
@protocol ZMyAddressCellDelegate <NSObject>
- (void)addressCellClickAction:(ZMyAddressCellActionType)actionType indexPath:(NSIndexPath *)indexPath;
- (void)addressDefaultClickActionindexPath:(NSIndexPath *)indexPath;

@end

@interface ZMyAddressCell : UITableViewCell
@property (nonatomic, strong) ZMyAddressModel *model;
@property (nonatomic, weak) id <ZMyAddressCellDelegate> delegate;
@property (nonatomic, strong) NSIndexPath *indexPath;
@end

NS_ASSUME_NONNULL_END
